Fix gdk_cairo_region_create_from_surface on big endian
authorMichel Dänzer <michel@daenzer.net>
Sat, 19 Nov 2011 17:23:27 +0000 (12:23 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 19 Nov 2011 17:23:27 +0000 (12:23 -0500)
commitab34c7989620db3890efdfb6849c64d5c70c1b76
tree48d2fe899bbb52a8065cc1e1825000ec5643afa4
parent6bb495f6bdfc4fc0135be973bcd4dca9c6281434
Fix gdk_cairo_region_create_from_surface on big endian

gdk_cairo_region_create_from_surface doesn't work correctly on PPC.
This is most prominently seen with the GTK window resize grip, the
shape of which is mirrored every eight pixels horizontally.

At the same time, use an A1 surface for the resize grip shape to
eliminates an A8->A1 surface conversion.
gdk/gdkcairo.c
gtk/gtkwindow.c